from data.importers import SHFEImporter, ZCEImporter, DCEImporter

def main():
    """运行数据导入"""
    # 导入上期所数据
    print("开始导入上期所数据...")
    shfe_importer = SHFEImporter()
    shfe_importer.process_all_files()
    
    # 导入郑商所数据
    print("\n开始导入郑商所数据...")
    zce_importer = ZCEImporter()
    zce_importer.process_all_files()
    
    # 导入大商所数据
    print("\n开始导入大商所数据...")
    dce_importer = DCEImporter()
    dce_importer.process_all_files()

if __name__ == "__main__":
    main() 